﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ArrayUtilHelpV3;

namespace ArrayUtilHelpV3Test
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                byte[] _source = new byte[5] { 0x11, 0x22, 0x33, 0x44, 0x55 };
                byte[] _compare = new byte[5] { 0x11, 0x22, 0x33, 0x44, 0x55 };
                Console.WriteLine(string.Format("ArrayTool.Equals==>{0}", ArrayToolV3.Equals<byte>(_source, _compare)));
                int[] _sourceInt = new int[5] { 11, 22, 33, 44, 55 };
                int[] _compareInt = new int[5] { 11, 22, 33, 44, 55 };
                Console.WriteLine(string.Format("ArrayTool.Equals==>{0}", ArrayToolV3.Equals<int>(_sourceInt, _compareInt)));
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message.Trim());
            }
            finally
            {
                Console.ReadLine();
            }
        }
    }
}
